Traducción al español será siempre la mayor brevedad

gMap (Google Maps)


The ICEfaces gMap component uses the Google Maps API to provide map services. To create a google map the following component can be used:

Example

The following code shows how to create a simple map

<ice:gMap/>

The following code shows how to create a simple map for specific latitude and longitude

<ice:gMap
   
latitude="51.04507"
longitude="-114.06319"
/>

Note: Inorder to use the google maps, an API key is required. The API key can be obtained from the google maps' website. You must need to specify the API key in the web.xml(e.g.)

    <context-param>
   <param-name>com.icesoft.faces.gmapKey</param-name>
   <param-value>ABQIAAAADlu0Z........</param-value>
</context-param>

Tag Summary

tag-name:
<ice:gMap>
tag-class:
com.icesoft.faces.component.gmap.GMapTag
component-class:
com.icesoft.faces.component.gmap.GMap
component-type:
com.icesoft.faces.GMap
component-family:
javax.faces.Panel
renderer-class:
com.icesoft.faces.component.gmap.GMapRenderer
renderer-type:
com.icesoft.faces.GMapRenderer